package com.ssm.dao;
import com.ssm.pojo.Account;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AccountDao {
//    public List<Account> findAll();

    public List<Account> findAll();
    Account findById(Integer id);
    public void save(Account account);
    void update(Account account);
    void delete(Integer Id);
    void deleteBatch(Integer[] ids);
}
